Skip to content

Conversation

Her-Code
Copy link

@Her-Code Her-Code commented Oct 8, 2025

Summary

This PR addresses issue #1974.
It introduces a new fluent builder API for synchronizing wallets with Electrum servers, making wallet synchronization as simple as a one-liner call. The ElectrumSync builder provides an intuitive, chainable interface for configuring and executing wallet sync operations, significantly improving developer experience and reducing boilerplate code for common synchronization tasks.

Features

  • Fluent Builder API : Implement fluent API for ElectrumSync configuration
  • Dual Sync Modes : Fast sync (revealed addresses only) and full scan (until stop gap)
  • Configurable Parameters : Server URL, stop gap, batch size, and transaction output fetching
  • Type Safety : Add ElectrumSyncResult<K> type alias.
  • Add new bdk_builder module with sync functionality

- Implement fluent API for Electrum sync configuration
- Add type alias to resolve clippy complexity warning
- Include comprehensive documentation and examples
- Add new bdk_builder module with sync functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant